projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7479133
)
gtkentry: Remove dead assignments
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Wed, 20 Nov 2013 17:30:07 +0000
(17:30 +0000)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Mon, 9 Mar 2015 13:41:37 +0000
(13:41 +0000)
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index dfe08d38331c0719d8e966de6c32d74548eaffae..d3f2ab58b959a09e6379cd7a1245735dd0e882f7 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-9975,7
+9975,6
@@
gtk_entry_drag_motion (GtkWidget *widget,
state = gtk_style_context_get_state (style_context);
gtk_style_context_get_padding (style_context, state, &padding);
x -= padding.left;
- y -= padding.top;
get_icon_allocations (entry, &primary, &secondary);
@@
-10054,7
+10053,6
@@
gtk_entry_drag_data_received (GtkWidget *widget,
state = gtk_style_context_get_state (style_context);
gtk_style_context_get_padding (style_context, state, &padding);
x -= padding.left;
- y -= padding.top;
get_icon_allocations (entry, &primary, &secondary);